package com.haixee.parkdemo.auth.dao;

import com.haixee.parkdemo.auth.model.Organize;

import java.util.List;

public interface OrganizeCustomMapper {

    List<Organize> selectAll(Integer tenantId);

    List<Integer> getChildren(Integer pid);

    int insertSelective(Organize record);

    Organize selectById(Integer id);

    List<Organize> selectByType(Byte type, Integer tenantId);

    List<Organize> selectByParentIdAndManager(Integer parentId, Boolean isManage);
}